<!DOCTYPE html>
<html class="x-admin-sm">

<head>
  <meta charset="UTF-8">
  <title></title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport"
    content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
  <!-- <link href="https://cdn.bootcdn.net/ajax/libs/fontawesome-iconpicker/3.2.0/css/fontawesome-iconpicker.min.css" rel="stylesheet"> -->
  <link rel="stylesheet" href="./css/font.css">
  <link rel="stylesheet" href="./css/xadmin.css">
  <link rel="stylesheet" href="./lib/layui/css/layui.css">
  <!-- <link href="https://cdn.bootcdn.net/ajax/libs/layui/2.7.6/css/layui.min.css" rel="stylesheet"> -->
  <script src="./lib/layui/layui.js" charset="utf-8"></script>
  <script type="text/javascript" src="./js/xadmin.js"></script>
  <!--[if lt IE 9]>
          <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
          <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>

<body>
  <div class="x-nav">
    <span class="layui-breadcrumb">
      <a href="">首页</a>
      <a href="">演示</a>
      <a>
        <cite>导航元素</cite></a>
    </span>
    <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right"
      onclick="location.reload()" title="刷新">
      <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
  </div>
  <div class="layui-fluid">
    <!-- 表单 -->
    <div class="layui-row layui-col-space15" id="header">
      <form class="layui-form serchForm" action="" style="display: flex;">
        <div class="layui-form-item">
          <label class="layui-form-label">分类名称</label>
          <div class="layui-input-inline">
            <input type="text" name="searchName" required lay-verify="required" placeholder="请输入分类名称" autocomplete="off"
              class="layui-input">
          </div>
        </div>
        <div class="layui-form-item">
          <div class="layui-input-block">
            <button class="layui-btn searchBtn" lay-filter="formDemo">搜索</button>
            <button type="reset" class="layui-btn layui-btn-primary reset">重置</button>
          </div>
        </div>
      </form>
    </div>
    <!-- 按钮模块 -->
    <div class="layui-row layui-col-space15" style="width: 100%;">
      <div class="action-box" style="display: flex; justify-content: space-between; width: 100%;">
        <div class="right">
          <button type="button" class="layui-btn layui-btn-normal addBtn"><i
              class="layui-icon">&#xe60c;</i><span>新增</span></button>
          <button type="button" class="layui-btn layui-btn-warm outBtn"><i
              class="layui-icon">&#xe702;</i><span>导出</span></button>
        </div>
        <div class="left">
          <button type="button" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" id="btn1"><i
              class="layui-icon">&#xe619;</i></button>
          <button type="button" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger"><i
              class="layui-icon">&#xe669;</i></button>
          <button type="button" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger"><i
              class="layui-icon">&#xe671;</i></button>
        </div>
      </div>
      <!-- 表格 -->
      <div class="table-bg">
        <table class="layui-table" id="tabInfo">
          <thead>
            <tr>
              <th lay-data="{field:'id', width:80, }">#</th>
              <th lay-data="{field:'username', width:80}">分类ID</th>
              <th lay-data="{field:'sex', width:80, }">分类名称</th>
              <th lay-data="{field:'city'}">图标class</th>
              <th lay-data="{field:'sign'}">权重</th>
              <th lay-data="{field:'classify'}">操作</th>
            </tr>
          </thead>
          <tbody class="tbody">
            <!-- <tr>
              <td style="width: 30px;"></td>
              <td></td>
              <td></td>
              <td><i></i></td>
              <td></td>
              <td>
                <button type="button" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-normal"><i
                    class="layui-icon">&#xe642;</i></button>
                <button type="button" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger"><i
                    class="layui-icon">&#xe640;</i></button>
              </td>
            </tr> -->
          </tbody>
        </table>
      </div>
      <!-- 分页 -->
      <div id="page-box"></div>
    </div>
  </div>
  <!-- 模态框 -->
  <form id="editForm" class="layui-form" style="display: none;" lay-filter="formTest">
    <!-- 第一行 分类名称 -->
    <div class="layui-form-item">
      <span class="text-1" style="display: none;"></span>
      <label class="layui-form-label">分类名称</label>
      <div class="layui-input-block">
        <input type="text" name="catename" required lay-verify="required" placeholder="请输入分类名" autocomplete="off"
          class="layui-input" style="width: 400px;">
      </div>
    </div>
    <!-- 第二行 分类别名  -->
    <div class="layui-form-item">
      <label class="layui-form-label">图标class</label>
      <div class="layui-input-block">
        <input type="text" name="icon" required lay-verify="required" placeholder="请输入class名" autocomplete="off"
          class="layui-input" style="width: 200px;">
      </div>
    </div>

    <!-- 第三行 按钮 -->
    <div class="layui-form-item">
      <div class="layui-input-block">
        <label class="layui-form-label">排序大小</label>
        <span role="button" id="prev"><i class="layui-icon layui-icon-subtraction"></i></span> <input type="text" name="sort_num"
          required lay-verify="required" placeholder="" autocomplete="off" class="layui-input intVal" value="10"
          style="display: inline-block;width: 50px;"><span role="button" id="Add"><i class="layui-icon layui-icon-addition"></i></span>
      </div>
    </div>
    <div class="layui-form-item">
      <div class="layui-input-block">
        <button class="layui-btn btnClose" lay-submit lay-filter="formDemo">确定</button>
      </div>
    </div>
  </form>
  <script lang="javascript" src="https://cdn.sheetjs.com/xlsx-0.19.3/package/dist/xlsx.full.min.js"></script>
  <!-- <script src="https://cdn.bootcdn.net/ajax/libs/fontawesome-iconpicker/3.2.0/js/fontawesome-iconpicker.min.js"></script> -->
  <script src="./js/jquery.min.js"></script>
  <script src="./lib/layui/layui.js"></script>
  <script src="./lib/layui/layui.all.js"></script>
  <!-- <script src="https://cdn.bootcdn.net/ajax/libs/layui/2.7.6/layui.min.js"></script> -->
  <script src="./lib/axios.js"></script>
  <script src="./js/common.js"></script>
  <script src="./js/cate.js"></script>
</body>
<script>
</script>

</html>